
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="keywords" content="">
    <meta name="viewport"
          content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <title>论坛-详情</title>
    <script src="__PUBLIC__/js/jquery.min.js.下载"></script>
    <link rel="stylesheet" href="__PUBLIC__/css/iconfont.css" type="text/css">
    <link rel="stylesheet" href="__PUBLIC__/css/bzstyle.css" type="text/css" media="all">
</head>
<body class="bg">
<div class="bz-thread-share">
    <div class="bgDiv"></div>
    <div class="upNav"></div>
</div>
<div class="bz-header bzmh">
    <div class="bz-header-left">
        <a href="javascript:history.back();" class="iconfont icon-fanhui"></a>
    </div>
    <h2>帖子内容</h2>
    <div class="bz-header-right">
        <a class="iconfont icon-more bzdown"></a>
    </div>
</div>
<div class="banzhuan-top"></div>
<div class="postlist bz-bg-fff banzhuan-view-bg overflow">
    <h2>{$data->title}</h2>
    <div class="banzhuan-view-bg-em">
        <em class="z grey">查看 53&nbsp;&nbsp;&nbsp;</em> <em class="z grey">回复3</em>
    </div>
    <div class="banzhuan-clear"></div>
    <ul class="bz-bg-fff">
        <div class="banzhuan-clear"></div>
        <div class="plc cl banzhuan-clear bz-bg-fff" id="pid23981">
            <div class="display pi" href="#replybtn_23981">
                <div class="cl" style="position: relative;">
                    <span class="avatar"><img onerror="this.src='__PUBLIC__/image/add.jpg'" src="__PUBLIC__/image/shouzhi.png" id="task_account_img"></span>
                    <ul class="authi">
                        <li class="grey">
                            <div class="y">
                                <div>
                                    <a>楼主</a>
                                </div>
                                <div class="cl">
                                    <ul id="mgc_post_23981_menu" class="p_pop mgcmn"
                                        style="display: none;">
                                    </ul>
                                </div>
                            </div>
                            <b class="bz-small">
                                <a href="__PUBLIC__/index/index2/task?id={$data->id}">{$data->phone}</a>
                            </b>
                        </li>
                        <li class="grey rela" style="font-size: 12px;">{$data->times|date='Y-m-d H:i:s'}</li>
                    </ul>
                </div>
                <div class="message">
                    <p><p>{$data->content}</p></p>
                </div>
            </div>
        </div>
        <div id="p_btn" class="bzbt1 banzhuan-clear">
            <a href="#" class="dialog color-b"><span id="span" ids="{$data->id}"><i class="iconfont icon-appreciatelight color-c"></i>点赞</span></a>
            <a href="__PUBLIC__/index/index2/report?id={$data->id}" class="dialog color-b"><span><i class="iconfont icon-jinggao color-c"></i>举报</span></a>
        </div>
        <div class="bz-t-ad"></div>
        <div class="banzhuan-h10 bz-bg-f5f5f5"></div>
        <div class="bz-p10 bz-vt-ln bzbt1 bzbb1 bz-bg-fff">
            <ul>
                <li><a href="__PUBLIC__/index/index2/xiangqing?type=shang&id={$data->id}"><i
                        class="iconfont icon-fanhui1"></i>上一个主题</a></li>
                <li><a href="__PUBLIC__/index/index2/xiangqing?type=xia&id={$data->id}">下一个主题<i
                        class="iconfont icon-gengduo"></i></a></li>
            </ul>
        </div>
        <div class="banzhuan-h10 bz-bg-f5f5f5"></div>
        <div class="replaytitle bz-bg-fff bzbt1 bz-ptb10">
            <div class="rtit bz-plr10">
                <a class="color-34" style="font-size: 16px; float: left; font-weight: 100;">全部回复</a>
                <a href="__PUBLIC__/home/posts/info/id/6" class="iconfont icon-daoxu" style="margin-left: 20px;"> 倒序浏览</a>
                <a href="__PUBLIC__/home/posts/info/id/6" rel="nofollow" class="iconfont icon-attention"> 只看楼主</a>
            </div>
        </div>
        <div class="banzhuan-clear"></div>
        {foreach $arr as $k => $v }
        <li class="bzbb1 banzhuan-clear replcli bz-bg-fff" id="pid24516" href="#replybtn_24516">
            <a href="__PUBLIC__/home/user/view/id/3484" class="avatar">
                <img onerror="this.src='__PUBLIC__/image/add.jpg'" src="__PUBLIC__/image/shouzhi.png" id="task_account_img">
            </a>
            <h3>
                <a href="__PUBLIC__/index/index2/task?id={$v.user_id}">{$v.phone}</a>
                <b class="bz-small"><a></a></b>

                <span class="y color-b">{$v.times|date='Y-m-d H:i:s'}</span>
            </h3>
            <div class="message">
                <p></p>
                <p></p>
            </div>
            <div class="cl bz-replc-list-a">
                <a class="color-b" style="float: left; margin-left: 0;">

					 <span>
                         {$v.content}
                     </span>
                    <a class="fastre color-c" href="__PUBLIC__/index/index2/reply?userid={$v.user_id}&commentid={$v.comment_id}"><span><i class="iconfont icon-comment"></i></span></a>

                </a>

                <!-- <a href="#" class="dialog color-c"><span><i class="iconfont icon-jubao"></i></span></a> -->
            </div>

        </li>

        {/foreach}

    </ul>
    <!--<div class="page">
    <a href="javascript:;" class="grey">上一页</a>
    <a id="select_a" style="margin:0 2px;padding:1px 0 0 0;border:0;display:inline-block;position:relative;width:100px;height:31px;line-height:27px;background:url(static//image/mobile/images/pic_select.png) no-repeat;text-align:left;text-indent:20px;">
        <select id="dumppage" style="position:absolute;left:0;top:0;height:27px;opacity:0;width:100px;">
        <option value="1" selected="">第1页</option>
        <option value="2">第2页</option>
        <option value="3">第3页</option>
        <option value="4">第4页</option>
        <option value="5">第5页</option>
        <option value="6">第6页</option>
        <option value="7">第7页</option>
        </select>
        <span>第1页</span></a>
        <a href="http://www.yuzhuan.com/forum.php?mod=viewthread&amp;tid=17566&amp;extra=&amp;page=2&amp;mobile=2">下一页</a>
    </div>  -->

</div>
<div class="bz-com-fm">
    <div class="bz-com-fm-return">
        <ul>
            <li><a href="javascript:history.back();"
                   class="iconfont icon-fanhui"></a></li>
        </ul>
    </div>
    <div class="bz-com-fm-reply">
        <ul>
            <li><a class="fastre color-b" href="__PUBLIC__/home/posts/reply/pid/6"><em class="iconfont icon-xie"></em>我来说两句...</a></li>
        </ul>
    </div>
    <div class="bz-com-fm-share">
        <ul>
            <li></li>
            <li><a
                    href="__PUBLIC__/home/posts/reply/pid/6"
                    class="favbtn iconfont icon-shoucang4"><em id="favoritenumber"
                                                               style="display: none">&nbsp;0</em></a></li>
        </ul>
    </div>
</div>
<div class="banzhuan-bottom"></div>

<div class="banzhuan-clear"></div>
<div id="mask" style="display: none;"></div>

</body>
</html>
<script>

    $(document).on('click','#span',function(){
         var ids=$(this).attr('ids');
        $.ajax({
            type: "POST",
            url: "__PUBLIC__/index/index2/upd",
            dataType:'json',
            data: {ids:ids},
            success: function(msg){

                    alert('点赞成功');

            }
        });
    })

</script>